/*
 * @Description: 
 * @Author: ljl
 * @Date: 2025-03-21 10:19:03
 * @LastEditors: rendc
 * @LastEditTime: 2025-03-21 10:19:07
 */
package com.briup.cms.service.impl;

import com.briup.cms.bean.Role;
import com.briup.cms.dao.RoleDao;
import com.briup.cms.service.IRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RoleServiceImpl implements IRoleService {

    @Autowired
    private RoleDao roleDao;

    //查询所有角色
    @Override
    public List<Role> list() {
        return roleDao.selectList(null);
    }
}
